package cn.legend.travel.basic.info.dao.persist.repository;

import cn.legend.travel.basic.info.pojo.entity.BlackUser;
import cn.legend.travel.basic.info.pojo.entity.User;
import cn.legend.travel.basic.info.pojo.vo.BlackListVO;
import cn.legend.travel.basic.info.pojo.vo.UserInfoVO;

import java.util.List;

public interface UserRepository {
    int insertBlack(List<BlackUser> blackUser);

    UserInfoVO selectUserInfoById(Long id);

    //根据nickname查询用户
    List<BlackListVO> selectUserInfoByNickname(String nickname);

    //修改用户信息
    int updateUserInfoByUser(User user);
}
